Linux Journal August 2018: Deep Dive: Containers by Carlie Fairchild & Glyn Moody & Reuven Lerner

Linux Journal August 2018: Deep Dive: Containers by Carlie Fairchild & Glyn Moody & Reuven Lerner

Author:Carlie Fairchild & Glyn Moody & Reuven Lerner [Fairchild, Carlie]
Language: eng
Format: mobi
Publisher: Linux Journal, LLC
Published: 2018-07-30T16:00:00+00:00


Create the ~/.config/lxc directory if it doesn't already exist, and copy the /etc/lxc/default.conf configuration file to ~/.config/lxc/default.conf. Append the following two lines to the end of the file:

lxc.id_map = u 0 100000 65536

lxc.id_map = g 0 100000 65536

It should look something like this:

$ cat ~/.config/lxc/default.conf

lxc.network.type = veth

lxc.network.link = lxcbr0

lxc.network.flags = up

lxc.network.hwaddr = 00:16:3e:xx:xx:xx

lxc.id_map = u 0 100000 65536

lxc.id_map = g 0 100000 65536



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.